<template>
  <el-config-provider :locale="zhCn" :size="globalSize">
    <router-view></router-view>
    <!-- PWA 刷新提示 -->
    <rest-pwa-reload-prompt></rest-pwa-reload-prompt>
  </el-config-provider>
</template>

<script setup lang="ts">
  import zhCn from 'element-plus/es/locale/lang/zh-cn';
  import RestPwaReloadPrompt from '@/components/rest/rest-pwa-reload-prompt/rest-pwa-reload-prompt.vue';
  const globalSize = computed(() => useGlobalStore().globalSize);
</script>

<style lang="scss">
  .ellipsis {
    @include ellipsis();
  }

  .ellipsis-multi {
    @include ellipsis-multi();
  }
</style>
